package com.example.runningdemo.designModel.template;

/**
 * @program: Running-Demo
 * @description:
 * @author: kangwei
 * @create: 2024-08-12 09:17
 **/
public class RestaurantServiceImpl extends RestaurantTemplate {
    @Override
    void spotMenu() {
        System.out.println("A号顾客点菜");
    }

    @Override
    void payment() {
        System.out.println("A号顾客支付");
    }

    public static void main(String[] args) {
        RestaurantServiceImpl restaurantService = new RestaurantServiceImpl();
        restaurantService.process();
    }
}
